package com.cskaoyan.wx.service;

import com.cskaoyan.bean.Coupon;
import com.cskaoyan.vo.WxCouponVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 作者：whl
 * 功能：
 */
public interface WxCouponService {
    WxCouponVo list(Integer page, Integer size);

    WxCouponVo mylist(Short status, Integer page, Integer size);

    List<Coupon> selectList(int userId, Integer grouponRulesId);

    int receive(int userId, Integer couponId);

    int exchange(String code);
}
